{include file="pub_header.htm"}
<div class="out_table">
<table width="100%" cellpadding="6" cellspacing="6" border="0" align="center" class="frame_table">
  <tr>
    <td width="20%" align="center" valign="top" bgcolor="#EEEEEE">
      {include file="pub_submenu.htm"}
    </td>
    <td width="80%" align="center" valign="top" bgcolor="#FFFFFF">

      <div class="right_table">
      <table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="current_place">
        <tr>
          <td align="left" nowrap>&nbsp;
            <a href="{$control_admin}" target="_self" class="current_place">管理首页</a>
            &raquo; <a href="{$control_admin}?act=pm_send" target="_self" class="current_place">写短信</a>
          </td>
          <td align="right" nowrap>
            [
            <a href="{$control_admin}?act=pm_in" target="_self" class="current_place">收件箱</a>
            <a href="{$control_admin}?act=pm_out" target="_self" class="current_place">发件箱</a>
            ]
          </td>
        </tr>
      </table>
      </div>

      <div class="space"></div>
      <div class="right_table">
      <form action="{$control_admin}?act=pm_send&ope=save" method="post" name="profile" id="profile" enctype="multipart/form-data">
      <table width="98%" cellpadding="3" cellspacing="0" border="0" align="center" class="block_group">
        <tr class="block_header">
          <td colspan="2" align="left">写短信</td>
        </tr>
        <tr>
          <td width="20%" align="right" class="block_left">发送到:</td>
          <td width="80%" align="left" valign="top" class="block_right">
            <input type="text" id="to" name="to" size="70" style="width:370px;" maxlength="64" value="{if $get.ope == 'reply'}{$pm_send_reply.m_username}{else}{$pm_send_to.m_username}{/if}" class="input" />
          </td>
        </tr>
        <tr>
          <td align="right" class="block_left">标题:</td>
          <td align="left" valign="top" class="block_right">
            <input type="text" id="subject" name="subject" size="70" style="width:370px;" maxlength="255" value="{if $pm_send_reply.subject|str_entag:'space,br' != ''}回复:{$pm_send_reply.subject|str_entag:'space,br'}{/if}" class="input" />
          </td>
        </tr>
        <tr>
          <td align="right" class="block_left">内容:</td>
          <td align="left" valign="top" class="block_right">
            <textarea id="content" name="content" rows="10" cols="70" style="width:370px;" class="textarea"></textarea>
          </td>
        </tr>
        <tr>
          <td colspan="2" align="center" class="block_footer">
            <input type="submit" value="确定" name="profile_submit" id="profile_submit" class="submit">
          </td>
        </tr>
      </table>
      </form>
      </div>

    </td>
  </tr>
</table>
{include file="pub_footer.htm"}
